module.exports = function(sequelize, DataTypes) {
  return sequelize.define('users', {
    id: {
      type: DataTypes.INTEGER(100),
      allowNull: false,
      primaryKey: true,
      autoIncrement: true
    },
    stu_name: {
      type: DataTypes.STRING(100),
      allowNull: true
    },
    stu_pwd: {
      type: DataTypes.STRING(100),
      allowNull: true,
      defaultValue: ''
    }
  }, {
    tableName: 'users'
  });
};
